home *** CD-ROM | disk | FTP | other *** search
- Path: news.urz.uni-heidelberg.de!usenet
- From: Stefan Reichling <steve@indi.aci.uni-heidelberg.de>
- Newsgroups: comp.lang.c
- Subject: Permutation
- Date: Wed, 20 Mar 1996 17:23:34 +0100
- Organization: University of Heidelberg, Germany
- Message-ID: <31503106.ABD@indi.aci.uni-heidelberg.de>
- NNTP-Posting-Host: mondo.aci.uni-heidelberg.de
- Mime-Version: 1.0
- Content-Type: text/plain; charset=us-ascii
- Content-Transfer-Encoding: 7bit
- X-Mailer: Mozilla 2.0 (X11; I; IRIX 5.3 IP22)
-
- Hi all,
-
- my problem is how to determine all possible permutations between two
- numberd arrays.
-
- exmp: first array: 1 2 3 4
- second array: 1 2 3 4
-
- first permut: 1 2 3 4
- 2 1 3 4
-
- ect.
-
- I know that the maximum number of possible permutations is n!
- How can I determine all possible array pairs ?
-
- thank's
-
- steve
- --
- +---------------------------------------------------------------------+
- | Stefan Reichling |
- | Anorganisch-Chemisches Instiut |
- | Tel +49-6221-548565 Universitaet Heidelberg |
- | Fax +49-6221-545707 69120 Heidelberg |
- | e-mail: steve@indi.aci.uni-heidelberg.de Germany |
- | www: http://ix.urz.uni-heidelberg.de/~il1 |
- +---------------------------------------------------------------------+
-